<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="UTF-8">
  <title>Title</title>
</head>
<body>
<link rel="stylesheet" href="https://unpkg.com/@highlightjs/cdn-assets@11.2.0/styles/default.min.css">
<script src="https://unpkg.com/@highlightjs/cdn-assets@11.2.0/highlight.min.js"></script>

<script>
  console.log(hljs.getLanguage('js'));
  /*
    Object
      aliases: (4) ["js", "jsx", "mjs", "cjs"]
      contains: (25) [{…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}]
      exports: {PARAMS_CONTAINS: Array(10)}
      illegal: /#(?![$_A-z])/
      keywords: {$pattern: "[A-Za-z$_][0-9A-Za-z$_]*", keyword: Array(38), literal: Array(6), built_in: Array(58), variable.language: Array(9)}
      name: "Javascript"
      rawDefinition: ƒ ()
      [[Prototype]]: Object
  */
</script>

</body>
</html>
